passwd = input()
a = b = c = d = 0
if passwd.isdigit():
    a = 1
if passwd.isalpha():
    b = 1
if passwd.isupper():
    c = 1
if passwd.islower():
    d = 1
if a+b+c+d == 0:
    print("你的密码是健壮的")

for r in range(len(passwd)-2):
    for i in range(r+1, len(passwd)-2):
        if passwd[r:r+3] == passwd[i:i+3]:
            print("你的密码有重复项")
